package org.benjamin.lending.domain.entity;

import javax.persistence.*;
import java.io.Serializable;

/**
 * Created by xywen on 2017/6/23.
 */
@Embeddable
public class BorrowContractIdentity implements Serializable {


    @Column(name = "borrow_id")
    private Integer borrowId;

    @Column(name = "user_id")
    private Integer userId;

    public Integer getBorrowId() {
        return borrowId;
    }

    public void setBorrowId(Integer borrowId) {
        this.borrowId = borrowId;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }
}
